package com.buyouchina.utils;

import javax.servlet.http.HttpServletRequest;

import com.buyouchina.bean.privilege.User;


public class WebUtil {
	public static User getUser(HttpServletRequest request){
		return (User)request.getSession().getAttribute("user");
	}

}
